<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			window.onload  = function() {
				var dv = document.getElementsByTagName("div")[0];
				console.log(dv.firstChild);
				console.log(dv.innerHTML);
				console.log(dv.firstChild.wholeText);
			}
		</script>
	</head>
	<body>
		<div>today is monday.</div>
	</body>
</html>
